package com.css.fxfzcpxx.modules.serviceCase.service;



import com.css.fxfzcpxx.modules.serviceCase.entity.ServiceCase;
import com.css.fxfzcpxx.modules.serviceCase.param.ClaCasParams;
import com.css.fxfzcpxx.modules.serviceCase.param.QueParams;
import com.css.fxfzcpxx.modules.serviceCase.vo.ListVo;
import com.css.fxfzcpxx.modules.serviceCase.vo.ServiceCaseVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface ServiceCaseService {

    Map<String, Object> getPage(QueParams queParams, int curPage, int pageSize);

    void save(ServiceCase serviceCase);

    void recallOrPublish(QueParams queParams);

    void delete(String ids);

    ServiceCaseVo findById(String id);

    void update(ServiceCase serviceCase);

    void catalogDownload(HttpServletResponse response, String ids);

    List<ServiceCase> getMoveData(QueParams params);

    void meansTypeUpdate(ListVo listvo);

    Map<String, Object> getClaCasPage(ClaCasParams claCasParams, int curPage, int pageSize);

    List<ServiceCase> getLatestCase();

    List<ServiceCaseVo> getRotationChartData();

    void setRotationChart(List<String> ids);

    void cancelRotationChart(List<String> ids);
}
